﻿using System.Collections.Generic;

namespace LibraryCatalog.Models
{
    public class BookGridModel
    {
        public readonly List<IBookInfo> Books;
        public readonly bool CloseDialog;
        public readonly bool ShowAlreadyDeleted;

        public BookGridModel(List<IBookInfo> books, bool closeDialog = false, bool showAlreadyDeleted = false)
        {
            Books = books;
            CloseDialog = closeDialog;
            ShowAlreadyDeleted = showAlreadyDeleted;
        }
    }
}